Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Add tags to the uploads#21

Draft
BlakeRain wants to merge 11 commits intomainfrom
17-tags
Draft

Add tags to the uploads#21
BlakeRain wants to merge 11 commits intomainfrom
17-tags

Conversation

@BlakeRain
Copy link
Copy Markdown
Owner

This PR closes #17 by adding support for tags on each upload. Each upload can have any number of tags, and uploads can be filtered by tags. Tags are kept around in a tags table with unique names over users and teams. Autocomplete in the tag editor is provided using a <datalist>.

There are a few things left to do:

  • The filter UI is present, but doesn't have any effect on the upload list yet.
  • I haven't added any tests for the UI.
  • The user settings page needs to include a section where a user can edit their tags.
  • Probably need to think about a teams settings page for the same. This can come after a different feature: #20

@BlakeRain BlakeRain self-assigned this Jul 22, 2025
@BlakeRain BlakeRain added the enhancement New feature or request label Jul 22, 2025
@BlakeRain
Copy link
Copy Markdown
Owner Author

Some screenshots for later.

CleanShot 2025-07-22 at 15 19 58 CleanShot 2025-07-22 at 15 20 27 CleanShot 2025-07-22 at 15 22 03 CleanShot 2025-07-22 at 15 22 25 CleanShot 2025-07-22 at 15 22 47

@BlakeRain
Copy link
Copy Markdown
Owner Author

Couple of problems:

  1. I really like the <parcel-select> element, but it's not going to play nicely if we filter as users change the selection if that causes the list interface to reload. May need to consider something else.
  2. When tags are added to uploads that are new, the select UI doesn't show the new tags in the filter list.

@BlakeRain BlakeRain marked this pull request as draft July 23, 2025 09:39
@BlakeRain BlakeRain force-pushed the 17-tags branch 2 times, most recently from 276159f to 0529572 Compare July 27, 2025 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tagging of uploads

1 participant